﻿@using QuestionsAnswers.UI.Models
@model System.Collections.Generic.List<QuestionsAnswers.UI.Models.CourseAssignViewModel>

@{
    ViewBag.Title = "Assign Courses/Users";
    int questionId = @ViewBag.Question.QuestionId;
}

<h2>Assign Courses/Users</h2>
@using(Html.BeginForm())
{
  <p>@ViewBag.Question.Text</p> 
    @Html.HiddenFor(question=> questionId)
   @Html.Partial("CourseAssignPartial",Model) 
    <input type="submit"/>
}
